package org.kabeja.dxf.entity;

import org.kabeja.dxf.DXFConstants;
import org.kabeja.dxf.helpers.Point;
import org.kabeja.dxf.helpers.Vector;

/**
 * @author shutao
 * @since 2022/4/25 10:09
 */
public class DXFTolerance extends DXFEntity {
    protected Point insertionPoint = new Point();
    protected String styleNameID = "";
    protected String text;
    protected Vector xaxisDirection = new Vector();

    public DXFTolerance() {
        this.setLineType(this.getType());
    }

    @Override
    public Bounds getBounds() {
        Bounds var1 = new Bounds();
        var1.setValid(false);
        return var1;
    }

    @Override
    public String getType() {
        return DXFConstants.ENTITY_TYPE_TOLERANCE;
    }

    public Point getInsertionPoint() {
        return this.insertionPoint;
    }

    public void setInsertionPoint(Point var1) {
        this.insertionPoint = var1;
    }

    public String getStyleID() {
        return this.styleNameID;
    }

    public void setStyleID(String var1) {
        this.styleNameID = var1;
    }

    public String getText() {
        return this.text;
    }

    public void setText(String var1) {
        this.text = var1;
    }

    public Vector getXaxisDirection() {
        return this.xaxisDirection;
    }

    public void setXaxisDirection(Vector var1) {
        this.xaxisDirection = var1;
    }

    @Override
    public double getLength() {
        return 0.0D;
    }
}
